const initUser = {
  isLogin: false,
  username: '',
  phone: '',
  email: '',
  token: ''
}
const initAddress = {
  addressProvince: '四川',
  addressCity: '成都',
  cityPickerVisible: false
}

export default {
  list: JSON.parse(window.localStorage.getItem('wg-cart')) || [],
  userInfo: JSON.parse(window.localStorage.getItem('wg-userInfo')) || initUser,
  address: JSON.parse(window.localStorage.getItem('wg-address')) || initAddress
}
